package com.cl.mapper;

import com.cl.pojo.Post;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PostMapper {

    /**
     *
     * @return
     */
    List<Post> queryAll();

    /**
     *
     * @param postnam
     * @return
     */
    Post queryByPostName(@Param("postname")String postnam);
}
